Private Sub txtConvert_KeyPress(KeyAscii As Integer)
If ((KeyAscii <> 8) And (KeyAscii <> 32)) And (((KeyAscii < vbKey0) Or (KeyAscii > vbKey9)) And ((KeyAscii < 65) Or (KeyAscii > 90)) And ((KeyAscii < 97) Or (KeyAscii > 122))) Then
KeyAscii = 0
End If
txtConvert_Change
End Sub
Private Sub txtFrom_Change()
txtConvert_Change
End Sub
Private Sub txtFrom_KeyPress(KeyAscii As Integer)
If (KeyAscii <> 8) And ((KeyAscii < vbKey0) Or (KeyAscii > vbKey9)) Then
KeyAscii = 0
End If
End Sub
Private Sub txtTo_Change()
txtConvert_Change
End Sub
Private Sub txtTo_KeyPress(KeyAscii As Integer)
If (KeyAscii <> 8) And ((KeyAscii < vbKey0) Or (KeyAscii > vbKey9)) Then